package com.example.skytakeoutserver.data.dto

import io.swagger.v3.oas.annotations.media.Schema
import jakarta.persistence.Id
import lombok.Getter
import lombok.Setter

@Setter
@Getter
@Schema(title = "分类")
data class CategoryDTO(
    @Id
    var id: Long? = null,

    @Schema(description = "类型: 1菜品分类 2套餐分类")
    var type: Int? = null,

    @Schema(description = "分类名称")
    var name: String? = null,

    @Schema(description = "顺序")
    var sort: Int? = null,

    @Schema(description = "分类状态 0标识禁用 1标识启用")
    var status: Int? = null
)